package org.jeecg.modules.sggg.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.sggg.entity.SgDeviceRelevance;

import java.util.List;
import java.util.Map;

/**
 * @Description: 设备关联表
 * @Author: jeecg-boot
 * @Date: 2023-03-19
 * @Version: V1.0
 */
public interface ISgDeviceRelevanceService extends IService<SgDeviceRelevance> {

    IPage<SgDeviceRelevance> getDoctorAuthority(IPage<SgDeviceRelevance> page, String userId, String sysOrgCode, String roleCode, SgDeviceRelevance sgDeviceRelevance, String selectOrgCode);

    IPage<SgDeviceRelevance> queryPageListBySql(Page<SgDeviceRelevance> page, SgDeviceRelevance cronJobList);

    List<SgDeviceRelevance> provideDeviceCount(String type, String userId, List<String> responsibleAgencies, String sysOrgCode);

   // Integer getCountDeviceRelevance(String userId, String sysOrgCode, String roleCode, SgDeviceRelevance sgDeviceRelevance);
}
